/**
 * 这里是uni-app内置的常用样式变量
 *
 * uni-app 官方扩展插件及插件市场（https://ext.dcloud.net.cn）上很多三方插件均使用了这些样式变量
 * 如果你是插件开发者，建议你使用scss预处理，并在插件代码中直接使用这些变量（无需 import 这个文件），方便用户通过搭积木的方式开发整体风格一致的App
 *
 */

/**
 * 如果你是App开发者（插件使用者），你可以通过修改这些变量来定制自己的插件主题，实现自定义主题功能
 *
 * 如果你的项目同样使用了scss预处理，你也可以直接在你的 scss 代码中使用如下变量，同时无需 import 这个文件
 */

/* 颜色变量 */

/* 行为相关颜色 */
$uni-color-primary: #007aff;
$uni-color-success: #4cd964;
$uni-color-warning: #f0ad4e;
$uni-color-error: #dd524d;

/* 文字基本颜色 */
$uni-text-color: #333; //基本色
$uni-text-color-inverse: #fff; //反色
$uni-text-color-grey: #999; //辅助灰色，如加载更多的提示信息
$uni-text-color-placeholder: #808080;
$uni-text-color-disable: #c0c0c0;

/* 背景颜色 */
$uni-bg-color: #ffffff;
$uni-bg-color-grey: #f8f8f8;
$uni-bg-color-hover: #f1f1f1; //点击状态颜色
$uni-bg-color-mask: rgba(0, 0, 0, 0.4); //遮罩颜色

/* 边框颜色 */
$uni-border-color: #c8c7cc;

/* 尺寸变量 */

/* 文字尺寸 */
$uni-font-size-sm: 24rpx;
$uni-font-size-base: 28rpx;
$uni-font-size-lg: 32rpx;

/* 图片尺寸 */
$uni-img-size-sm: 40rpx;
$uni-img-size-base: 52rpx;
$uni-img-size-lg: 80rpx;

/* Border Radius */
$uni-border-radius-sm: 4rpx;
$uni-border-radius-base: 6rpx;
$uni-border-radius-lg: 12rpx;
$uni-border-radius-circle: 50%;

/* 水平间距 */
$uni-spacing-row-sm: 10px;
$uni-spacing-row-base: 20rpx;
$uni-spacing-row-lg: 30rpx;

/* 垂直间距 */
$uni-spacing-col-sm: 8rpx;
$uni-spacing-col-base: 16rpx;
$uni-spacing-col-lg: 24rpx;

/* 透明度 */
$uni-opacity-disabled: 0.3; // 组件禁用态的透明度

/* 文章场景相关 */
$uni-color-title: #2c405a; // 文章标题颜色
$uni-font-size-title: 40rpx;
$uni-color-subtitle: #555555; // 二级标题颜色
$uni-font-size-subtitle: 36rpx;
$uni-color-paragraph: #3f536e; // 文章段落颜色
$uni-font-size-paragraph: 30rpx;

$color-f1: #f1f1f1;
$color-A4: #a4a4a4;
$color-f8: #f8f8f8;
$color-ff: #ffffff;
$color-00: #000000;
$color-33: #333333;
$color-66: #666666;
$color-99: #999999;
$color-FF3D61: #ff3d61;
$color-4F79FF: #4f79ff;
$color-FF6C6C: #ff6c6c;
$color-FF4646: #ff4646;
$color-C5: #c5c5c5;
$color-3985FF: #3985ff;
$color-A2A3A3: #a2a3a3;
$color-D7: #d7d7d7;
$color-B6: #b6b6b6;
$color-DC: #dcdcdc;
$color-D2: #d2d2d2;
$color-F8: #f8f8f8;
$color-87: #878787;
$color-1668FF: #1668ff;
$color-FF7420: #ff7420;
$color-FF3434: #ff3434;
$color-FF8A00: #ff8a00;
$color-F0: #f0f0f0;
$color-3F: #3f3f3f;
$color-91: #9194a1;
$color-F2: #f2f2f2;
$color-FF9204: #ff9204;
$color-282828: #282828;
$color-90: #909090;
$color-53C117: #53c117;
$color-FF5420: #ff5420;
$color-FF4A5F: #ff4a5f;
$color-C4: #c4c4c4;
$color-E8: #e8e8e8;
$color-22: #222222;
$color-F6F9FE: #f6f9fe;
$color-FF2424: #ff2424;
$color-079A26: #079a26;
$color-E84033: #e84033;
$color-FAF6F7: #faf6f7;
$color-F2AAA6: #f2aaa6;
$color-E94234: #e94234;
$color-FFC807: #ffc807;
$color-78: #787878;
$color-F9381B: #F9381B;
$color-2E: #2E2E2E;
$color-FE7954: #FE7954;
$color-EB3506: #EB3506;


$zhezhao: rgba(51, 51, 51, 0.85);

@mixin center {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
@mixin font-no-height($fontSize, $fontWeight, $color) {
	font-size: $fontSize;
	font-weight: $fontWeight;
	color: $color;
}

@mixin display-flex-start {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

@mixin display-flex-end {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
@mixin display-flex-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

@mixin display-flex-space-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
@mixin display-flex-space-around {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

@mixin w-h($width, $height) {
	width: $width;
	height: $height;
}

@mixin item-center {
	display: flex;
	align-items: center;
}

@mixin font-center {
	display: grid;
	justify-content: center;
	align-content: center;
}
